<include file="__PUBLIC__/_header" />
<body>
<div class="navbar navbar-default" id="navbar">
    <script type="text/javascript">
        try{ace.settings.check('navbar' , 'fixed')}catch(e){}
    </script>

    <div class="navbar-container" id="navbar-container">
        <div class="navbar-header pull-left">
            <a href="#" class="navbar-brand">
                <small>
                    <i class="icon-leaf"></i>
                    配置中心后台管理系统
                </small>
            </a><!-- /.brand -->
        </div><!-- /.navbar-header -->

        <div class="navbar-header pull-right" role="navigation">
            <ul class="nav ace-nav">
                <li class="light-blue">
                    <a data-toggle="dropdown" href="#" class="dropdown-toggle">
                        <img class="nav-user-photo" src="__APP_SKIN__avatars/avatar2.png" alt="User's Photo" />
						<span class="user-info">
							<small>欢迎光临,</small>
							shenglu.li						</span>

                        <i class="icon-caret-down"></i>
                    </a>

                    <ul class="user-menu pull-right dropdown-menu dropdown-yellow dropdown-caret dropdown-close">
                        <li>
                            <a href="?a=admin&m=logout">
                                <i class="icon-off"></i>
                                退出
                            </a>
                        </li>
                    </ul>
                </li>
            </ul><!-- /.ace-nav -->
        </div><!-- /.navbar-header -->
    </div><!-- /.container -->
</div>

<div class="main-container" id="main-container">
    <script type="text/javascript">
        try{ace.settings.check('main-container' , 'fixed')}catch(e){}
    </script>

    <div class="main-container-inner">
        <a class="menu-toggler" id="menu-toggler" href="#">
            <span class="menu-text"></span>
        </a>

        <div class="sidebar" id="sidebar">
            <script type="text/javascript">
                try{ace.settings.check('sidebar' , 'fixed')}catch(e){}
            </script>

            <include file="__PUBLIC__/_nav"/>
            <!-- /.nav-list -->

            <div class="sidebar-collapse" id="sidebar-collapse">
                <i class="icon-double-angle-left" data-icon1="icon-double-angle-left" data-icon2="icon-double-angle-right"></i>
            </div>

            <script type="text/javascript">
                try{
                    ace.settings.check('sidebar' , 'collapsed')
                }catch(e){

                }
            </script>
        </div>
        <div class="main-content">
            <div class="breadcrumbs" id="breadcrumbs">
                <script type="text/javascript">
                    try{
                        ace.settings.check('breadcrumbs' , 'fixed')
                    }catch(e){

                    }
                </script>

                <ul class="breadcrumb">
                    <li>
                        <i class="icon-home home-icon"></i>
                        <a href="{:Controller::_createUrl('manage')}">Home</a>
                    </li>

                    <li class="active"> 系统权限 </li>
                    <li class="active">配置下发</li>
                </ul><!-- .breadcrumb -->
            </div>

            <div class="page-content">
                <div class="row">
                    <div class="page-header">
                        <h1>
                            配置变更
                            <small>
                                <i class="icon-double-angle-right"></i>
                                所有配置
                            </small>
                        </h1>
                    </div><!-- /.page-header -->
                    <div class="col-xs-12">
                        <div class="table-header">
                            待下发配置
                        </div>

                        <div class="table-responsive">
                            <table id="sample-table-2" class="table table-striped table-bordered table-hover">
                                <thead>
                                <tr>
                                    <th>关键字</th>
                                    <th>域名</th>
                                    <th>版本号</th>
                                    <th>操作</th>
                                    <th>执行人</th>
                                    <th>登录IP</th>
                                    <th><i class="icon-time bigger-110 hidden-480"></i>操作时间</th>
                                </tr>
                                </thead>
                                <tbody>
                                <volist name="data" id="vo">
                                    <tr>
                                        <td>
                                            {$vo.key}
                                        </td>
                                        <td>
                                            {$vo.domain}
                                        </td>
                                        <td>
                                            {$vo.version}
                                        </td>
                                        <td>
                                            {$vo.operation}
                                        </td>
                                        <td>
                                            {$vo.execute_person}
                                        </td>

                                        <td>{$vo.login_ip}</td>
                                        <td>
                                            {$vo.modifyTime|timeFormat}
                                        </td>
                                    </tr>
                                </volist>
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
        </div><!-- /.main-content -->
        <!-- basic scripts -->

        <!--[if !IE]> -->
        <script type="text/javascript">
            window.jQuery || document.write("<script src='__APP_SKIN__js/jquery-2.0.3.min.js'>"+"<"+"/script>");
        </script>

        <!-- <![endif]-->

        <!--[if IE]>
        <script type="text/javascript">
            window.jQuery || document.write("<script src='__APP_SKIN__js/jquery-1.10.2.min.js'>"+"<"+"/script>");
        </script>
        <![endif]-->

        <script type="text/javascript">
            if("ontouchend" in document) document.write("<script src='__APP_SKIN__js/jquery.mobile.custom.min.js'>"+"<"+"/script>");
        </script>
        <script src="__APP_SKIN__js/bootstrap.min.js"></script>
        <script src="__APP_SKIN__js/typeahead-bs2.min.js"></script>

        <!-- page specific plugin scripts -->

        <script src="__APP_SKIN__js/jquery.dataTables.min.js"></script>
        <script src="__APP_SKIN__js/jquery.dataTables.bootstrap.js"></script>

        <!-- ace scripts -->

        <script src="__APP_SKIN__js/ace-elements.min.js"></script>
        <script src="__APP_SKIN__js/ace.min.js"></script>

        <!-- inline scripts related to this page -->

        <script type="text/javascript">
            jQuery(function($) {
                var oTable1 = $('#sample-table-2').dataTable( {
                    "aaSorting": [[5, "desc"]],
                    "aoColumns": [
                        null, null,null, null, null, null,{ "bSortable": false }
                    ],
                    "oLanguage": {
                        "sLengthMenu": "每页显示 _MENU_ 条记录",
                        "sZeroRecords": "抱歉， 没有找到",
                        "sInfo": "从 _START_ 到 _END_ /共 _TOTAL_ 条数据",
                        "sInfoEmpty": "没有数据",
                        "sInfoFiltered": "(从 _MAX_ 条数据中检索)",
                        "oPaginate": {
                            "sFirst": "首页",
                            "sPrevious": "前一页",
                            "sNext": "后一页",
                            "sLast": "尾页"
                        },
                        "sZeroRecords": "没有检索到数据"
                    } } );
            })
        </script>
</body>
</html>